package com.wutianyi.maven.plugins;

import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;

/**
 * @author hanjie.wuhj
 *@goal greeting
 */

public class GreetingMojo extends AbstractMojo{

	/**
	 * @parameter expression="${greeting.words}" default-value="Hello Yo you!"
	 */
	private String words;
	
	@Override
	public void execute() throws MojoExecutionException, MojoFailureException {
		getLog().info(words);
	}

}
